package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.dto.ProjectManagementDTO;
import cn.topevery.garden.entity.po.ProjectManagement;
import cn.topevery.garden.entity.query.ProjectManagementQuery;
import cn.topevery.garden.entity.vo.ProjectManagementVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;
import java.util.Map;

/**
 * 项目管理信息表
 *
 * @author code-generate
 * @date 2022-02-15
 */
public interface ProjectManagementDao extends BaseDao<ProjectManagement> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<ProjectManagementVO> listPage(ProjectManagementQuery query);

    ProjectManagement getEntityByColumn(String key, String value);

    void commit(String userId, ProjectManagementDTO dto);

    void deleteBatchById(String userId, Integer[] ids);

    List<Map<String, Object>> getProjectNameList();

    void updateMapRange(Integer id, Float lat, Float lng);
}
